Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of partners logo in night mode #238

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Support of partners logo in night mode #238

merged 1 commit into from
Apr 5, 2024

Conversation

enthuan
Copy link
Collaborator

@enthuan enthuan commented Apr 4, 2024

No description provided.

@@ -69,6 +69,7 @@ query GetPartnerGroups {
partners {
name
logoUrl
logoUrlDark
Copy link
Contributor

@martinbonnin martinbonnin Apr 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that work? I would have expected something like

            logoUrlLight: logoUrl(dark: false)
            logoUrlDark: logoUrl(dark: true)

It's a new GraphQL argument, not field

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it seems to work 🤷‍♀️ I will change this anyway

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fun stuff, it worked because of reflection. See joreilly/Confetti#1233.

@enthuan enthuan force-pushed the feat/dark_partners branch from d7043de to 5b45deb Compare April 5, 2024 07:31
@enthuan enthuan merged commit 013ee11 into main Apr 5, 2024
1 check passed
@enthuan enthuan deleted the feat/dark_partners branch April 5, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants